<?php
/**
  @author:猪也知道
  @describe:
  @date:2010/10/06
 * */
include ("phprpc/phprpc_server.php");
//function HelloWorld() {
//    return 'Hello World!';
//}
class Hello {
     static function HelloWorld() {
         return 'Hello World!';
     }
 }
$server = new PHPRPC_Server();
$server->add('HelloWorld','hello');
$server->start();
?>
